package com.wing.product.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wing.common.utils.PageResult;
import com.wing.product.model.entity.WarehouseOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wing.product.model.request.WarehouseOrderForm;
import com.wing.product.model.response.WarehouseOrderInfoVO;
import com.wing.product.model.response.WarehouseOrderVO;
import com.wing.product.model.response.WarehouseOutboundOrderVO;

import java.util.Map;

public interface WarehouseOrderService extends IService<WarehouseOrder>{

    Page<WarehouseOrderVO>pageList4app(Page page, Map<String, Object> params);
    Boolean save(WarehouseOrderForm warehouseProductForm);

    Boolean update(WarehouseOrderForm warehouseProductForm);

    WarehouseOrderInfoVO findOrderInfoById(Long id,String type);

    WarehouseOrder findByOrderCode(String orderCode);
}
